# Contributor: Maarten van Gompel <proycon@anaproy.nl>
# Maintainer: Maarten van Gompel <proycon@anaproy.nl>
pkgname=ticcutils
pkgver=0.28
pkgrel=2
pkgdesc="Common library with shared functions for Frog, ucto, libfolia, timbl"
options="!check"
arch="all"
url="https://github.com/LanguageMachines/ticcutils"
license="GPL-3.0-only"
makedepends="libtool libxml2-dev bzip2-dev libtar-dev icu-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/LanguageMachines/ticcutils/releases/download/v$pkgver/ticcutils-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="24606d06c1cb2295cdd922fdf1deef3860700b9b37fc3e729120e116e5a7f82ceaff811a384e27c89cb4f060c6749f0957d1b7f942a0ad261237bc53e93b7db8  ticcutils-0.28.tar.gz"
